<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PanelMode</title>
<meta http-equiv="Content-Type" Content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../styles/styles.css">
<script language="javascript" src='../links.js' type="text/javascript"></script>
</head>
<body>

<h1>PanelMode</h1>
<div class=navbar>
<a href="../index.html">main</a> |
<a  href="index.html">structures</a><br>
</div>

<div class=shortdescr>
The <dfn>PanelMode</dfn> structure describes one panel view mode.
An array of these structures should be passed to 
the <a href="../exported_functions/getopenplugininfo.html">GetOpenPluginInfo</a> function.
</div>

<pre class=syntax>
struct PanelMode
{
  char *ColumnTypes;
  char *ColumnWidths;
  char **ColumnTitles;
  int FullScreen;
  int DetailedStatus;
  int AlignExtensions;
  int CaseConversion;
  char *StatusColumnTypes;
  char *StatusColumnWidths;
  DWORD Reserved[2];
};
</pre>
<h3>Elements</h3>
<div class=descr>

    <div class=dfn>ColumnTypes</div>
    <div class=dfndescr>Text string which describes <a href="../exported_functions/panelcolumntype.html">column types</a>. 
     Column types are encoded by one or more letters separated by commas:
      &quot;<b><code>N,SC,D,T&quot;</code></b>. To use standard Far panel view modes, set this field
      to <code>NULL</code>.</div>
    <div class=dfn>ColumnWidths</div>
    <div class=dfndescr>
    <p>Text string which gives the <a href="../defs/columnwidths.html">columns width</a>.
    </div>
    <div class=dfn>ColumnTitles</div>
    <div class=dfndescr>Pointer to an array of strings which specifies the column labels. To use
      standard column names, set this value to <code>NULL</code>.</div>
    <div class=dfn>FullScreen</div>
    <div class=dfndescr>If TRUE - resize panel to fill the entire window (instead of half).</div>

    <div class=dfn>DetailedStatus</div>
    <div class=dfndescr>If TRUE, the status line will display
      <em>name</em>, <em>size</em>, <em>date</em> and <em>time</em> of the file,
      if <i>StatusColumnTypes</i>=NULL
      and <i>StatusColumnWidths</i>=NULL.
      Otherwise, the status line will only display the file name.
    </div>

    <div class=dfn>AlignExtensions</div>
    <div class=dfndescr>TRUE - align file extensions.</div>
    <div class=dfn>CaseConversion</div>
    <div class=dfndescr>FALSE - to preserve file names.</div>
    <div class=dfn>StatusColumnTypes</div>
    <div class=dfndescr>As <i>ColumnTypes</i>, but applies to the status line. 
    To use the standard status line, set <i>StatusColumnTypes</i> to <code>NULL</code>.</div>
    <div class=dfn>StatusColumnWidths</div>
    <div class=dfndescr>As <i>ColumnWidths</i>, but applies to the status line.
    <div class=dfn>Reserved</div>
    <div class=dfndescr>Reserved for future use. Set to 0.</div>

</div>

<div class=see>See also:</div><div class=seecont>
<a href="index.html">structures</a> |
<a href="../delphi/tpanelmode.html">TPanelMode</a>
</div>


</body>
</html>